import request from '@/utils/request'

// 查询行政公益诉讼流程情况列表
export function listProcessadmin(query) {
  return request({
    url: '/system/processadmin/list',
    method: 'get',
    params: query
  })
}

// 查询行政公益诉讼流程情况详细
export function getProcessadmin(id) {
  return request({
    url: '/system/processadmin/' + id,
    method: 'get'
  })
}

// 新增行政公益诉讼流程情况
export function addProcessadmin(data) {
  return request({
    url: '/system/processadmin',
    method: 'post',
    data: data
  })
}

// 修改行政公益诉讼流程情况
export function updateProcessadmin(data) {
  return request({
    url: '/system/processadmin',
    method: 'put',
    data: data
  })
}

// 删除行政公益诉讼流程情况
export function delProcessadmin(id) {
  return request({
    url: '/system/processadmin/' + id,
    method: 'delete'
  })
}
